<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>My JSP 'a.jsp' starting page</title>
		<script type="text/javascript" src="js/jquery/jquery-1.4.2.js">
</script>
<script type="text/javascript" src="/zpd0t1_db/ckeditor/ckeditor.js">
</script>

		<script type="text/javascript">
$(document).ready(function() {

	var options = {
		//filebrowserBrowseUrl : '/<%=request.getContextPath()%>',
		//filebrowserImageBrowseUrl : '<%=request.getContextPath()%>',
		//filebrowserUploadUrl : '<%=request.getContextPath()%>/manage/upload.action',
		filebrowserImageUploadUrl : '<%=request.getContextPath()%>/manage/upload.action'
	};
	CKEDITOR.replace('article.content', options);
});
</script>
	</head>
	<s:property />
	<body>
		<form action="/zpd0t1_db/manage/upload.action" method="post" enctype="multipart/form-data">
			<input type="file" name="upload" />
			<input type="submit">
		</form>
		<div style="border: 2px solid red;">
			<input id="file_upload" type="file" />
		</div>
		<hr/>
		<textarea  name="article.content" rows="2" cols="60"></textarea>
	</body>
</html>
